package com.ziyun.pop.common.e.order;

import com.ziyun.pop.common.e.BaseEnum;

public enum OrderItemTypeEnum implements BaseEnum {

    PRODUCT(0,"product","商品"),

    PKG(1,"pkg","捆绑商品"),

    GITF(2,"gift","赠品商品"),

    ADJUNCT(3,"adjunct","配件商品")
    ;
    private int id;
    private  String code;
    private String describe;


    OrderItemTypeEnum(int id, String code, String describe) {
        this.id = id;
        this.code = code;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return code;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
